package com.wps.wdztv6.controller.callback;

import com.wps.wdztv6.domain.operate.CpsAsyncV1TaskNotifyCallbackBody;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 文档处理回调
 */
@RestController
@RequestMapping("/wdzt/v6")
@Slf4j
public class OperateCallbackController {
    @PostMapping("/v1/3rd/file/view/notify")
    public void cpsAsyncV1TaskNotify(@RequestBody CpsAsyncV1TaskNotifyCallbackBody body){
        log.info("文档处理回调获取到数据: {}", body);
    }
}
